import Vue from 'vue'
import fastClick from 'fastclick'
import VueAwesomeSwiper from 'vue-awesome-swiper'

import App from './App'
import router from './router'
import store from './store/index'
import 'swiper/css/swiper.css'

Vue.use(VueAwesomeSwiper);                   
Vue.config.productionTip = false;            
fastClick.attach(document.body);            

/**
 * 需要理解template,el,render之间的优先级
 */
new Vue({
    el: '#app',
    router:router,
    store,
    components: { App },
    template: '<App/>' 
});
  
